package xyz.lwm.lazycat.annotation;

import xyz.lwm.lazycat.beans.Indexes;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * annotated order
 *
 * @author lwm
 */
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
public @interface Order {

    /**
     * smaller value has higher priority
     *
     * @return order value
     */
    int value() default Indexes.DEFAULT;

}
